<?php
require_once("functions.php");
mysql_select_db($db_baza_date, $baza) or die ('Cannot connect to server! Please retry later!');
set_time_limit (100);
mysql_set_charset('utf8', $baza);
session_start();

if(autentify($_POST))
{
	header("location:index.php");
}
else
{
	header("location:index.php?error=1");
}

?>